﻿import * as React from 'react'
//import {Route, Link, NavLink} from 'react-router-dom'
import SidebarItem from './SidebarItem'

class PageSidebar extends React.Component {
    render() {
        return (
            <div id="page-sidebar" className="page-sidebar">
                <ul className="sidebar-menu">
                    <SidebarItem to="/">首页</SidebarItem>
                    <SidebarItem to="/components">组件</SidebarItem>
                    <SidebarItem to="/account/login">登入</SidebarItem>
                    <SidebarItem to="/account/register">注册</SidebarItem>
                </ul>
            </div>
        )
    }
}

export default PageSidebar